<%--
  Created by IntelliJ IDEA.
  User: win
  Date: 2020/10/15
  Time: 22:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<html>
<head>
    <title>实现Javabean中组件中特征对象属性值的打印</title>
</head>
<body>
<%

%>
<jsp:useBean id="student" scope="session" class="com.zhf.demo02.Student"></jsp:useBean>
从前端获取到的学号是：
<jsp:getProperty name="student" property="id"/><br>
从前端获取到的姓名是：
<jsp:getProperty name="student" property="name"/>
</body>
</html>
